package gmusic.command;

import gmusic.ma.services.impl.MetalArchivesServicesImpl;

import javax.servlet.http.HttpServletRequest;

public class SupprimerDemandeChargement implements Command {

	// private final static Logger log =
	// Logger.getLogger(SupprimerDemandeChargement.class);

	public String execute(HttpServletRequest req) throws Exception {

		int demId = Integer.parseInt(req.getParameter("demId"));
		MetalArchivesServicesImpl.getInstance().supprimerDemandeChargement(
				demId);

		return new AfficherDemandesChargement().execute(req);
	}
}
